package com.zhima.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhima.entity.InOutExample;
import com.zhima.enums.QuestionDifficulty;
import com.zhima.enums.QuestionScope;
import com.zhima.vo.SimpleLabelVO;
import lombok.Data;

import java.util.List;

@Data
public class CreateQuestionDTO {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    private String title;
    private String prefix;
    private String background;
    private String description;
    private String inputFormat;
    private String outputFormat;
    private List<InOutExample> inOutExamples;
    private String tips;
    private QuestionDifficulty difficulty;
    private List<SimpleLabelVO> labels;
    private QuestionScope scope;
}
